<?php
return array(
    // '配置项'=>'配置值'
    'MULTI_MODULE' => false,
    'DEFAULT_MODULE' => 'Home',
    'URL_HTML_SUFFIX' => '.php',

    'URL_PARAMS_BIND_TYPE' => 1,

    'SHOW_ERROR_MSG' => true,
    // 'TMPL_EXCEPTION_FILE' => 'Public/tpl/api_exception.tpl',

	//默认数据库
    'DB_TYPE' => 'mysql', // 数据库类型
    'DB_HOST' => '106.75.222.222', // 服务器地址
    'DB_NAME' => 'product', // 数据库名
    'DB_USER' => 'root', // 用户名
    'DB_PWD' => 'RTYh87gs', // 密码
    'DB_PORT' => 16506, // 端口
    'DB_PREFIX' => '', // 数据库表前缀


    //whaley_system数据库
    'DB_system' => 'mysql://root:RTYh87gs@106.75.222.222:16506/system',
    //whaley_system数据库
    'DB_fz' => 'mysql://root:RTYh87gs@106.75.222.222:16506/fz',
    //whaley_trade数据库
    'DB_trade' => 'mysql://root:RTYh87gs@106.75.222.222:16506/trade',
    //whaley_product数据库
	'DB_product' => 'mysql://root:RTYh87gs@106.75.222.222:16506/product',

    'AdminConfig' => array(
        'login_cookie_expire' => '2592000',
        'login_cookie_domain' => '',
        'login_page' => 'http://106.75.222.222:17561/admin/login',
        'jump_page' => 'http://106.75.222.222:17561/admin/jump',
        'error_auth_page' => 'http://106.75.222.222:17561/admin/errorauth',
        'error_page' => 'http://106.75.222.222:17561/admin/errorPage',
        'info_page' => 'http://106.75.222.222:17561/admin/infoPage',
    ),
    'SystemConfig' => array(
        'encrypt_key' => 'rlQu78NZpd2OwhQG',
        'current_domain' => 'product',
    ),
    'UrlConfig' => array(
        'login_page' => 'http://106.75.222.222:17561/admin/login',
    ),
    'API' => array(
        'SYNC_PRODUCT' => 'http://172.16.18.104:8080/whaley-job/wms/syncProduct'
    ),
);